package com.requestfactory.wire.echo;

import java.io.IOException;
import java.math.BigDecimal;

import org.apache.commons.httpclient.HttpException;

public interface EchoService {
	
	String echo(String value);
	
	int divide(int left, int right);

	void throwEchoServiceException() 
	throws EchoServiceException;
	
	String throwHttpException(String message)
	throws HttpException;

	long throwIOException(Integer I, int i, String message)
	throws IOException;

	double throwIllegalArgumentException(float f, String message)
	throws IllegalArgumentException;
	
	BigDecimal primitives(
			byte b,
			short sh,
			char ch,
			int i,
			long l,
			float f,
			double d);

}
